package com.atguigu.eduorder.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import com.atguigu.commonutils.user.CourseWebVoOrder;
/**
 * @Author LHL
 * @Date 23-3-8-0008 15:51
 * @注释
 */
@Component
@FeignClient(value = "service-edu")
public interface EduClient {
    //远程调用根据课程id获得课程信息
    @PostMapping("/eduservice/coursefront/getCourseInfoOrder/{id}")
    public CourseWebVoOrder getCourseInfoOrder(@PathVariable("id") String id);
}
